package tec.stan.ling.core.top.model;

import java.util.List;

/**
 * TOPO object which support the alarm and state.
 * 
 * @author Stan 张新潮
 * @since 2010-01-08
 */
public interface Device extends Node {

	/**
	 * State of Net Element
	 * @return
	 */
	NEState getState();

	void serState(NEState state);
	
	static final String DEVICE_STATE="Device:state";

	/**
	 * Input links interface
	 * 
	 * @return
	 */
	List<Link> getInputLinks();
	
	static final String DEVICE_INPUT="Device:input";

	/**
	 * Output links interface
	 * 
	 * @return
	 */
	List<Link> getOutputLinks();
	
	static final String DEVICE_OUTPUT="Device:output";
	
//	/**
//	 * State of Net Element
//	 * @return
//	 */
//	NEAlarm getAlarm();
//
//	void setAlarm(NEAlarm alarm);
}
